package com.cy.pj.sys.service;

import com.cy.pj.common.pojo.*;

import java.util.List;

public interface SysRoleService {
    PageObject<SysRole> findPageObjects(String name, Integer pageCurrent);
    int deleteObject(Integer id);

    int saveObject(SysRole entity,Integer[]menuIds);

    int updateObject(SysRole entity,Integer[] menuIds);

    SysRoleMenuVo findObjectById(Integer id) ;

    List<CheckBox> findObjects();
}
